package cn.zct.domain.activity.service.trial;

import cn.zct.domain.activity.adapter.repository.IActivityRepository;
import cn.zct.domain.activity.model.entity.MarketProductEntity;
import cn.zct.domain.activity.model.entity.TrialBalanceEntity;
import cn.zct.domain.activity.service.trial.factory.DefaultActivityStrategyFactory;
import cn.zct.types.design.framework.tree.AbstractStrategyRouter;
import cn.zct.types.design.framework.tree.AbstractMultiThreadStrategyRouter;

import javax.annotation.Resource;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeoutException;

public abstract class AbstractGroupBuyMarketSupport<MarketProductEntity, DynamicContext, TrialBalanceEntity> extends AbstractMultiThreadStrategyRouter<cn.zct.domain.activity.model.entity.MarketProductEntity, DefaultActivityStrategyFactory.DynamicContext, cn.zct.domain.activity.model.entity.TrialBalanceEntity>{

    protected long timeout = 500;

    @Resource
    protected IActivityRepository repository;

    protected void multiThread(cn.zct.domain.activity.model.entity.MarketProductEntity marketProductEntity,DefaultActivityStrategyFactory.DynamicContext dynamicContext) throws ExecutionException, InterruptedException, TimeoutException {

    };


}
